-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker configuration for production, development and testing #23
base: dev
Are you sure you want to change the base?
Conversation
If developers are supposed to make use of the new setup, the changes should be reflected in the README. |
Dockerfile.base
Outdated
|
||
ENV APP_DIR=/srv/app | ||
|
||
RUN mkdir -p $APP_DIR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En liten kommentar. Blir ikkje dette automatisk gjort når du setter $APP_DIR
til å vere WORKDIR
?
Dockerfile.prod
Outdated
@@ -0,0 +1,3 @@ | |||
FROM kapina_base:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Meir eit spørsmål, men er ikkje det meir anbefalt å bruke Docker sin multi-stage build, for å få til fleire nivå? Usikker korleis dette fungerer rundt docker-compose
, men det ser ut til at ein skal kunne referere til target
i docker-compose v3.4. Ref. docker/compose#5191 og docker/cli#430
Also use wheel to copy packages
Travis does not run latest docker-compose
docker-compose services for development, production, and testing.
Dockerfiles are based on Alpine Linux.
Fixes #5